package com.jyh.homework.homework4;

public class TestStudentTool {
    public static void main(String[] args) {
        Student[] students=new Student[5];
        Student student1=new Student("cxk",18,80);
        Student student2=new Student("dz",19,70);
        Student student3=new Student("jtm",20,60);
        Student student4=new Student("ngm",21,90);
        Student student5=new Student("沃德发",22,55);
        students[0]=student1;
        students[1]=student2;
        students[2]=student3;
        students[3]=student4;
        students[4]=student5;

        StudentsTool studentsTool = new StudentsTool();
        studentsTool.listStudents(students);

        studentsTool.getMaxScore(students);

        studentsTool.getMaxStudent(students);

        studentsTool.getAverageScore(students);

        studentsTool.getCount(students);

    }
}
